module src.nusd;

private import src.downloader;
private import src.wadpacker;
private import src.nus;

class NUSD : Downloader
{
  public:
    this( NUS nus )
    {
      super( nus );
    }
    
    override void process()
    {
      super.process();
      
      if ( nus.pack && nus.isWiiTitle )
      {
        auto wadpacker = new WADPacker( nus );
        wadpacker.process();
      }
    }
}